using GalaSoft.MvvmLight;
using System.Windows.Input;
using GalaSoft.MvvmLight.Command;
using System.Linq;
using ASoft.Msg;
using System;

namespace ASoft.WPF.ViewModel
{
	public partial class RoomDataViewModel : ViewModelBase
    {
		#region "Id"

        private Byte _Id = default(Byte);

        public Byte Id
        {
            get
            {
                return _Id;
            }
            set
            {
                if (_Id == value)
                {
                    return;
                }

                _Id = value;
                RaisePropertyChanged("Id");
            }
        }

        #endregion
		#region "RoomName"

        private String _RoomName = default(String);

        public String RoomName
        {
            get
            {
                return _RoomName;
            }
            set
            {
                if (_RoomName == value)
                {
                    return;
                }

                _RoomName = value;
                RaisePropertyChanged("RoomName");
            }
        }

        #endregion
		#region "RoomGroupName"

        private String _RoomGroupName = default(String);

        public String RoomGroupName
        {
            get
            {
                return _RoomGroupName;
            }
            set
            {
                if (_RoomGroupName == value)
                {
                    return;
                }

                _RoomGroupName = value;
                RaisePropertyChanged("RoomGroupName");
            }
        }

        #endregion
		#region "偏移Id"

        private Int32 _偏移Id = default(Int32);

        public Int32 偏移Id
        {
            get
            {
                return _偏移Id;
            }
            set
            {
                if (_偏移Id == value)
                {
                    return;
                }

                _偏移Id = value;
                RaisePropertyChanged("偏移Id");
            }
        }

        #endregion
		#region "偏移光照"

        private Int32 _偏移光照 = default(Int32);

        public Int32 偏移光照
        {
            get
            {
                return _偏移光照;
            }
            set
            {
                if (_偏移光照 == value)
                {
                    return;
                }

                _偏移光照 = value;
                RaisePropertyChanged("偏移光照");
            }
        }

        #endregion
		#region "偏移室内温度1"

        private Decimal _偏移室内温度1 = default(Decimal);

        public Decimal 偏移室内温度1
        {
            get
            {
                return _偏移室内温度1;
            }
            set
            {
                if (_偏移室内温度1 == value)
                {
                    return;
                }

                _偏移室内温度1 = value;
                RaisePropertyChanged("偏移室内温度1");
            }
        }

        #endregion
		#region "偏移室内温度2"

        private Decimal _偏移室内温度2 = default(Decimal);

        public Decimal 偏移室内温度2
        {
            get
            {
                return _偏移室内温度2;
            }
            set
            {
                if (_偏移室内温度2 == value)
                {
                    return;
                }

                _偏移室内温度2 = value;
                RaisePropertyChanged("偏移室内温度2");
            }
        }

        #endregion
		#region "偏移湿度1"

        private Int32 _偏移湿度1 = default(Int32);

        public Int32 偏移湿度1
        {
            get
            {
                return _偏移湿度1;
            }
            set
            {
                if (_偏移湿度1 == value)
                {
                    return;
                }

                _偏移湿度1 = value;
                RaisePropertyChanged("偏移湿度1");
            }
        }

        #endregion
		#region "偏移湿度2"

        private Int32 _偏移湿度2 = default(Int32);

        public Int32 偏移湿度2
        {
            get
            {
                return _偏移湿度2;
            }
            set
            {
                if (_偏移湿度2 == value)
                {
                    return;
                }

                _偏移湿度2 = value;
                RaisePropertyChanged("偏移湿度2");
            }
        }

        #endregion
		#region "偏移P1通风窗位置"

        private Int32 _偏移P1通风窗位置 = default(Int32);

        public Int32 偏移P1通风窗位置
        {
            get
            {
                return _偏移P1通风窗位置;
            }
            set
            {
                if (_偏移P1通风窗位置 == value)
                {
                    return;
                }

                _偏移P1通风窗位置 = value;
                RaisePropertyChanged("偏移P1通风窗位置");
            }
        }

        #endregion
		#region "偏移灌溉加湿"

        private Int32 _偏移灌溉加湿 = default(Int32);

        public Int32 偏移灌溉加湿
        {
            get
            {
                return _偏移灌溉加湿;
            }
            set
            {
                if (_偏移灌溉加湿 == value)
                {
                    return;
                }

                _偏移灌溉加湿 = value;
                RaisePropertyChanged("偏移灌溉加湿");
            }
        }

        #endregion
		#region "偏移P2通风窗位置"

        private Int32 _偏移P2通风窗位置 = default(Int32);

        public Int32 偏移P2通风窗位置
        {
            get
            {
                return _偏移P2通风窗位置;
            }
            set
            {
                if (_偏移P2通风窗位置 == value)
                {
                    return;
                }

                _偏移P2通风窗位置 = value;
                RaisePropertyChanged("偏移P2通风窗位置");
            }
        }

        #endregion
		#region "偏移P1拉幕位置"

        private Int32 _偏移P1拉幕位置 = default(Int32);

        public Int32 偏移P1拉幕位置
        {
            get
            {
                return _偏移P1拉幕位置;
            }
            set
            {
                if (_偏移P1拉幕位置 == value)
                {
                    return;
                }

                _偏移P1拉幕位置 = value;
                RaisePropertyChanged("偏移P1拉幕位置");
            }
        }

        #endregion
		#region "偏移P2拉幕位置"

        private Int32 _偏移P2拉幕位置 = default(Int32);

        public Int32 偏移P2拉幕位置
        {
            get
            {
                return _偏移P2拉幕位置;
            }
            set
            {
                if (_偏移P2拉幕位置 == value)
                {
                    return;
                }

                _偏移P2拉幕位置 = value;
                RaisePropertyChanged("偏移P2拉幕位置");
            }
        }

        #endregion
		#region "偏移土壤湿度"

        private Int32 _偏移土壤湿度 = default(Int32);

        public Int32 偏移土壤湿度
        {
            get
            {
                return _偏移土壤湿度;
            }
            set
            {
                if (_偏移土壤湿度 == value)
                {
                    return;
                }

                _偏移土壤湿度 = value;
                RaisePropertyChanged("偏移土壤湿度");
            }
        }

        #endregion
		#region "偏移二氧化碳"

        private Int32 _偏移二氧化碳 = default(Int32);

        public Int32 偏移二氧化碳
        {
            get
            {
                return _偏移二氧化碳;
            }
            set
            {
                if (_偏移二氧化碳 == value)
                {
                    return;
                }

                _偏移二氧化碳 = value;
                RaisePropertyChanged("偏移二氧化碳");
            }
        }

        #endregion
		#region "飘移室内温度1"

        private Decimal _飘移室内温度1 = default(Decimal);

        public Decimal 飘移室内温度1
        {
            get
            {
                return _飘移室内温度1;
            }
            set
            {
                if (_飘移室内温度1 == value)
                {
                    return;
                }

                _飘移室内温度1 = value;
                RaisePropertyChanged("飘移室内温度1");
            }
        }

        #endregion
		#region "飘移室内温度2"

        private Decimal _飘移室内温度2 = default(Decimal);

        public Decimal 飘移室内温度2
        {
            get
            {
                return _飘移室内温度2;
            }
            set
            {
                if (_飘移室内温度2 == value)
                {
                    return;
                }

                _飘移室内温度2 = value;
                RaisePropertyChanged("飘移室内温度2");
            }
        }

        #endregion
		#region "飘移湿度1"

        private Int32 _飘移湿度1 = default(Int32);

        public Int32 飘移湿度1
        {
            get
            {
                return _飘移湿度1;
            }
            set
            {
                if (_飘移湿度1 == value)
                {
                    return;
                }

                _飘移湿度1 = value;
                RaisePropertyChanged("飘移湿度1");
            }
        }

        #endregion
		#region "飘移湿度2"

        private Int32 _飘移湿度2 = default(Int32);

        public Int32 飘移湿度2
        {
            get
            {
                return _飘移湿度2;
            }
            set
            {
                if (_飘移湿度2 == value)
                {
                    return;
                }

                _飘移湿度2 = value;
                RaisePropertyChanged("飘移湿度2");
            }
        }

        #endregion
		#region "飘移光照"

        private Int32 _飘移光照 = default(Int32);

        public Int32 飘移光照
        {
            get
            {
                return _飘移光照;
            }
            set
            {
                if (_飘移光照 == value)
                {
                    return;
                }

                _飘移光照 = value;
                RaisePropertyChanged("飘移光照");
            }
        }

        #endregion
		#region "飘移土壤湿度"

        private Int32 _飘移土壤湿度 = default(Int32);

        public Int32 飘移土壤湿度
        {
            get
            {
                return _飘移土壤湿度;
            }
            set
            {
                if (_飘移土壤湿度 == value)
                {
                    return;
                }

                _飘移土壤湿度 = value;
                RaisePropertyChanged("飘移土壤湿度");
            }
        }

        #endregion
		#region "飘移二氧化碳"

        private Int32 _飘移二氧化碳 = default(Int32);

        public Int32 飘移二氧化碳
        {
            get
            {
                return _飘移二氧化碳;
            }
            set
            {
                if (_飘移二氧化碳 == value)
                {
                    return;
                }

                _飘移二氧化碳 = value;
                RaisePropertyChanged("飘移二氧化碳");
            }
        }

        #endregion
		#region "启用飘移检测"

        private Boolean _启用飘移检测 = default(Boolean);

        public Boolean 启用飘移检测
        {
            get
            {
                return _启用飘移检测;
            }
            set
            {
                if (_启用飘移检测 == value)
                {
                    return;
                }

                _启用飘移检测 = value;
                RaisePropertyChanged("启用飘移检测");
            }
        }

        #endregion
		#region "IsPhec"

        private Boolean _IsPhec = default(Boolean);

        public Boolean IsPhec
        {
            get
            {
                return _IsPhec;
            }
            set
            {
                if (_IsPhec == value)
                {
                    return;
                }

                _IsPhec = value;
                RaisePropertyChanged("IsPhec");
            }
        }

        #endregion
	}
}
